import { Login, NotFound, Dashboard, Article, Sets } from "../views";
import {BankOutlined,SettingOutlined  } from '@ant-design/icons';
const commonRoutes = [
  {
    pathname: "/login",
    component: Login,
  },
  {
    pathname: "/404",
    component: NotFound,
  },
];

const privateRoutes = [
  {
    pathname: "/admin/dashboard",
    component: Dashboard,
    title:'仪表盘',
    icon:BankOutlined
  },
  {
    pathname: "/admin/article",
    component: Article,
    title:'文章管理',
    icon:SettingOutlined
  },
  {
    pathname: "/admin/sets",
    component: Sets,
    title:'系统设置',
    icon:SettingOutlined
  },
];
export { commonRoutes, privateRoutes };
